package com.fastloan.safe.mgt.root.dao;


import com.fastloan.safe.mgt.root.model.CmDefRoleFun;
import com.kawins.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmDefRoleFunMapper extends BaseMapper<CmDefRoleFun> {

    /**
     * 批量插入
     *
     * @param list
     */
    void insertList(List<CmDefRoleFun> list);

    /**
     * 根据用户ID获得CmDefRoleFun信息
     *
     * @param userId
     * @return
     */
    List<CmDefRoleFun> selectByUserId(@Param("userId") String userId);
}